package com.gary.log.logcore.append;

import com.gary.log.logcore.LogItem;
import com.gary.log.service.ILogService;

public class DefaultAppenderImpl implements IAppender {
	private ILogService service;
	
	@Override
	public void doAppend(LogItem item) {
		service.save(item);
	}

	@Override
	public void setService(ILogService service) {
		this.service = service;
	}

}
